byte[] sPDFDecoded = Convert.FromBase64String(base64BinaryStr); File.WriteAllBytes(@"c:\Users\u316383\Documents\pdf8.pdf", sPDFDecoded);